<?php
namespace test\modules;


use core\test\PHPUnitTest;

/**
 * 测试module配置的隔离性
 * Class TestModules
 * @package test\modules
 */
class TestModules extends PHPUnitTest
{
    public function testConfig() {
        $res1 = $this->get('http://localhost/index/testConfig', [], [], []);
        var_dump($res1);
        $res2 = $this->get('http://localhost/admin/index/testConfig', [], [], []);
        var_dump($res2);
        $this->assertNotEquals($res1, $res2);
    }
}